package xyz.zdsoft.project_group_manage_module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 班级信息表
 * </p>
 *
 * @author 杜飘
 * @since 2021-07-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ClassInfo对象", description="班级信息表")
public class ClassInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "物理id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "院系ID")
    private Long collegesId;

    @ApiModelProperty(value = "专业ID")
    private Long majorId;

    @ApiModelProperty(value = "年级ID")
    private Long gradeInfoId;

    @ApiModelProperty(value = "班号ID")
    private Long classBaseInfoId;

    @ApiModelProperty(value = "班主任ID")
    private Long teacherId;

    @ApiModelProperty(value = "是否结业，参见YesOrNo枚举0：未结业，1已结业")
    private String isGraduation;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
